package com.appinfo.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.appinfo.base.BaseService;
import com.appinfo.dao.CategoryDao;
import com.appinfo.entity.Category;


@Service
public class CategoryService extends BaseService {

	@Autowired
	CategoryDao categoryDao;

	public List<Category> selectByParentId(Long parentId) {
		return categoryDao.selectByParentId(parentId);
	}
}
